import http from "@/http/index"


export default {

    add: {
        name: "生成订单",
        url: "/api/order/add",
        call: async function (params: any = {}) {
            return await http.post(this.url, params)
        }
    },
    updateStatus: {
        name: "支付订单",
        url: "/api/order/update",
        call: async function (params: any = {}) {
            return await http.put(this.url, params)
        }
    },
    
}
